
import AlbumList from "@/app/myComponents/client/albumList";
import { api } from "@/lib/api";

async function Album() {
    const res = await fetch(await api(`/api/albumList`));
    const albumList = await res.json();
    // console.log(albumList);
    return ( 
        <AlbumList albumList={albumList} />
    );
}

export default Album;